﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Archive_Add.aspx.cs" Inherits="UDS.SubModule.UnitiveDocument.Archives.Archive_Add" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>增加档案</title>
    <link href="../../../Css/BasicLayout.css" type="text/css" rel="stylesheet"/>

</head>
<body>
    <form id="form1" runat="server">
    <div>
              <table id="Table2" bordercolor="#111111" height="1" cellspacing="0" cellpadding="0"
                width="100%" border="0">
                <tr height="30">
                    <td class="GbText" width="3%" background="../../../Images/treetopbg.jpg" bgcolor="#c0d9e6">
                        <font color="#003366" size="3">
                            <img alt="" src="../../../DataImages/ClientManage.gif"></font></td>
                    <td class="GbText" background="../../../Images/treetopbg.jpg" bgcolor="#c0d9e6">
                        <b><b><b><font face="宋体">增加档案</font></b></b></b></td>
                    <td class="GbText" align="right" background="../../../Images/treetopbg.jpg" bgcolor="#c0d9e6">
                    </td>
                </tr>
            </table>
            <table class="gbtext" id="AutoNumber1" style="border-collapse: collapse" bordercolor="#93bee2"
                cellspacing="0" cellpadding="0" width="100%" border="1" runat="server">                
                <tr>
                    <td align="right" width="20%" style="height: 25px">
                        档案分类:</td>
                    <td style="height: 25px"><asp:DropDownList ID="ddlArchiveType" runat="server">
                  </asp:DropDownList></td>
                </tr>
                <tr bgcolor="#e8f4ff">
                    <td align="right" width="20%" style="height: 30px">
                        档案编号:</td>
                    <td style="height: 30px"><asp:TextBox ID="txtArchiveCode" runat="server"></asp:TextBox></td>
                </tr>
                 <tr >
                    <td align="right" width="20%" height="30">
                        档案名称:</td>
                    <td height="30"><asp:TextBox ID="txtArchiveTitle" runat="server"></asp:TextBox></td>
                </tr>
                <tr bgcolor="#e8f4ff">
                    <td style="height: 34px" align="right" width="20%">
                        保存期限:</td>
                    <td style="height: 34px"><asp:DropDownList ID="ddlArchiveLife" runat="server">
                  </asp:DropDownList></td>
                </tr>
                <tr >
                    <td align="right" height="34" style="height: 34px" width="20%">
                        存放位置:</td>
                    <td height="34" style="height: 34px">
                        <asp:TextBox ID="txtArchiveLocation" runat="server"></asp:TextBox></td>
                </tr>
                <tr bgcolor="#e8f4ff">
                    <td align="right" height="34" style="height: 34px" width="20%">
                        密级:</td>
                    <td height="34" style="height: 34px">
                        <asp:DropDownList ID="ddlArchiveLevel" runat="server">
                        </asp:DropDownList></td>
                </tr>
                <tr >
                    <td align="right" height="34" style="height: 34px" width="20%">
                        页数:</td>
                    <td height="34" style="height: 34px">
                        <asp:TextBox ID="txtArchivePages" runat="server"></asp:TextBox></td>
                </tr>
                <tr bgcolor="#e8f4ff">
                    <td align="right" height="34" style="height: 34px" width="20%">
                        </td>
                    <td height="34" style="height: 34px">
                        <asp:FileUpload ID="FileUpload1" runat="server" />
                        <asp:Button ID="btnUpload" runat="server" OnClick="btnUpload_Click" Text="上传" /></td>
                </tr>
                <tr bgcolor="#e8f4ff">
                    <td align="right" style="height: 34px" width="20%">
                        附件列表:</td>
                    <td style="height: 34px">
                        <asp:GridView ID="gv_upload_file_list" runat="server" AutoGenerateColumns="False"   OnRowDeleting="gv_upload_file_list_RowDeleting">
                            <Columns>
                                <asp:BoundField DataField="Archive_Filename" HeaderText="文件名" />
                                <asp:CommandField HeaderText="移除" ShowDeleteButton="True" />
                            </Columns>
                        </asp:GridView>
                    </td>
                </tr>
                <tr >
                    <td align="right" height="34" style="height: 34px" width="20%">
                        摘要或全文:</td>
                    <td height="34" style="height: 34px">
                        <asp:TextBox ID="txtArchiveDesc" runat="server" Height="200px" TextMode="MultiLine" Width="550px"></asp:TextBox></td>
                </tr>
                <tr bgcolor="#e8f4ff">
                    <td align="right" height="34" style="height: 34px" width="20%">
                    </td>
                    <td height="34" style="height: 34px">
                        &nbsp;<asp:Button ID="btnAdd" runat="server" Text="增加" OnClick="btnAdd_Click" />
                        <asp:Button ID="btnBack" runat="server" Text="返回" />
                        <asp:HiddenField ID="Archive_ID" runat="server" />
                    </td>
                </tr>
                </table>
              
    </div>
        
    </form>
</body>
</html>